<? if (!defined("BASEPATH")) exit("No direct script access allowed");

if(isset($getArticle)) {

	$entList = preg_split("/,/", $getArticle[0]["entList"]);
	$entUrlList = preg_split("/,/", $getArticle[0]["entUrlList"]);

	$tags = "";
	foreach($entList as $jj => $ent) {
		if($ent) {
			$tags .= (($tags)?(", "):("")).anchor(trim($entUrlList[$jj]), trim($ent), ((isset($activeTag) and $activeTag == trim($entUrlList[$jj]))?("class=\"b\""):("")));
		}
	}

	echo	"<h2>".$getArticle[0]["artName"]."</h2>";
	echo	"<div>".$getArticle[0]["artLead"]."</div><br/>";
	echo	"<div>".$getArticle[0]["artText"]."</div>";
	if($tags) {
		echo	"<div><b>".$this->lang->line("TAGS").":</b> ".$tags."</div>";
	}
}